#! /bin/bash
export install_path=/usr/local/Ascend/ascend-toolkit/latest
export PATH=/usr/local/python3.7.5/bin:${install_path}/atc/ccec_compiler/bin:${install_path}/atc/bin:$PATH
export PYTHONPATH=${install_path}/atc/python/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH=${install_path}/atc/lib64:${install_path}/acllib/lib64:$LD_LIBRARY_PATH
export ASCEND_OPP_PATH=${install_path}/opp

cd ..
./benchmark.x86_64 -model_type=vision -device_id=0 -batch_size=16 -om_path=./onnx2om/dsfd_bs16.om -input_text_path=info_result.info -input_width=224 -input_height=224 -output_binary=False -useDvpp=False